{% extends "base.html" %}
{# Copyright The IETF Trust 2023, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load ietf_filters %}
{% block title %}{{ doc.name|prettystdname }}{% endblock %}
{% block content %}
  {% origin %}
  {{ top|safe }}
  <h2>{{ doc.name|prettystdname }} {% if doc.contains %}consists of:{% else %}currently contains no RFCs{% endif %}</h2>
  {% for rfc in doc.contains|dictsort:"rfc_number" %}
    <p><a href="{% url 'ietf.doc.views_doc.document_main' name=rfc.name %}">RFC {{rfc.name|slice:"3:"}}</a> : {{rfc.title}}</p>
  {% endfor %}
  <div class="buttonlist">
    <a class="btn btn-primary btn-sm"
    href="{% url 'ietf.doc.views_doc.document_references' doc.name %}"
    rel="nofollow">
     <i class="bi bi-arrow-left">
     </i>
     References
    </a>
    <a class="btn btn-primary btn-sm"
    href="{% url 'ietf.doc.views_doc.document_referenced_by' doc.name %}"
    rel="nofollow">
     <i class="bi bi-arrow-right">
     </i>
     Referenced by
    </a>
  </div>
{% endblock %}
